package org.dromara.system.domain.vo;


import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;
import org.dromara.system.domain.SysPost;


import java.io.Serializable;
import java.util.Date;

/**
 * 岗位信息视图对象 sys_post
 *
 * @author Michelle.Chung
 */
@Data
@AutoMapper(target = SysPost.class)
public class SysPostVo implements Serializable {


    private static final long serialVersionUID = 1L;

    /**
     * 岗位ID
     */

    private Long postId;

    /**
     * 部门id
     */

    private Long deptId;

    /**
     * 岗位编码
     */

    private String postCode;

    /**
     * 岗位名称
     */

    private String postName;

    /**
     * 岗位类别编码
     */

    private String postCategory;

    /**
     * 显示顺序
     */

    private Integer postSort;

    /**
     * 状态（0正常 1停用）
     */

    private String status;

    /**
     * 备注
     */

    private String remark;

    /**
     * 创建时间
     */

    private Date createTime;

    /**
     * 部门名
     */
    @Translation(type = TransConstant.DEPT_ID_TO_NAME, mapper = "deptId")
    private String deptName;

}
